package com.fei.service;

import com.fei.bean.SingerBean;
import org.springframework.stereotype.Service;

import java.util.List;


public interface SingerService {

//    用于添加歌手
    public void insertSingerService(SingerBean singerBean);

//    根据id查询
    public SingerBean selectOneIdService(int id);

//    根据歌手名查询是否添加过
    public Boolean ValidSingName(String name);

//    查询所有歌手
    public List<SingerBean> findAllSingerService();

//    用于修改
    public int updateSingerService(SingerBean singer);

//    用于删除
    public int deleteSingerService(int id);

}
